package com.android.jixin.channel.bean;

/**
 * Created by fitz on 2016/12/22.
 *
 * desc:    用户登录
 */

public class UserLoginResult {

    /**
     * success : true
     * code : 1
     * msg : 操作成功
     * data : {"isAuth":true,"status":2,"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzM4NCJ9.eyJleHAiOjE0ODI5NzczODUsInVzZXJpZCI6IjU5NzYiLCJtb2JpbGUiOiIxODA3Mjc3MDUxOCJ9.AOQcxCxCAFoI8WTBpfbdVyEZz1m73TNWbpwuhTjduq1VTtV5EfRFLYq2yrrRtxlW","userId":"5976"}
     */

    private boolean success;
    private String code;
    private String msg;
    private DataBean data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * isAuth : true
         * status : 2
         * token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzM4NCJ9.eyJleHAiOjE0ODI5NzczODUsInVzZXJpZCI6IjU5NzYiLCJtb2JpbGUiOiIxODA3Mjc3MDUxOCJ9.AOQcxCxCAFoI8WTBpfbdVyEZz1m73TNWbpwuhTjduq1VTtV5EfRFLYq2yrrRtxlW
         * userId : 5976
         */

        private boolean isAuth;
        private int status;
        private String token;
        private String userId;

        public boolean isIsAuth() {
            return isAuth;
        }

        public void setIsAuth(boolean isAuth) {
            this.isAuth = isAuth;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }
    }
}
